home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / pub / linux / macos / macping-3.0.4.sit.hqx / MacPing™ 3.0.4 DEMO Folder / MacPing™ 3.0.4 Demo.rsrc / TEXT_143_ AppleScript.txt < prev    next >
Text File  |  1997-04-23  |  1KB  |  38 lines

  1. AppleScript
  2.  
  3. MacPing accepts three AppleScript commands, allowing you to invoke MacPing from other programs running on your Macintosh.
  4.  
  5. The following explanations briefly describe the AppleScript command and the definition, as shown in the MacPing AppleScript dictionary.
  6.  
  7.  
  8. TestZone: Test an AppleTalk zone
  9.         TestZone  string  -- zone name
  10.  
  11. MacPing will test all networks contained in the specified zone. This command is equivalent to the Test Zone menu command.
  12.  
  13. Example:
  14. tell MacPing to testzone ΓÇ£Research and DevelopmentΓÇ¥
  15.  
  16.  
  17. TestIP: Test a single IP address or a range of addresses
  18.         TestIP  string  -- an IP address or host name
  19.                     [to  string]  -- end of range
  20.                     [include  named/active/all]  -- search option 
  21.  
  22. MacPing will test an IP host or range of hosts. This command is equivalent to the Test IP menu command.
  23.  
  24. Examples:
  25. tell MacPing to testIP ΓÇ£foo1.bar.comΓÇ¥
  26. tell MacPing to testIP ΓÇ£foo1.bar.comΓÇ¥ to ΓÇ£foo2.bar.comΓÇ¥
  27. tell MacPing to testIP ΓÇ£foo1.bar.comΓÇ¥ to ΓÇ£foo2.bar.comΓÇ¥ include named
  28.  
  29.  
  30. TestNet: Test AppleTalk network
  31.         TestNet  integer  -- network number
  32.                     [to  integer]  -- high end of range
  33.  
  34. MacPing will test an AppleTalk network or range of networks. This command is equivalent to the Test Network menu command. The network numbers are passed as AppleScript integers; they must be typed as decimal numbers.
  35.  
  36. Examples:
  37. tell MacPing to testnet 5
  38. tell MacPing to testnet 100 to 107